package com.cloud.xtools.user.domain.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("permissions")
public class Permission {
    private Long id;
    private Long parentId;
    private String name;
    private String identity;
    private String pageRoute;
    private Integer sort;
    private boolean menu;
    // 创建时间
    private LocalDateTime createdAt;
    // 更新时间
    private LocalDateTime updatedAt;
}
